package com.zatech.cgnci.project.mapper;

import com.zatech.cgnci.project.entity.CgnciClaimPolicyDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zatech.cgnci.project.vo.CgnciClaimPolicyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 案件关联保单表 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2024-12-23
 */
@Mapper
public interface CgnciClaimPolicyMapper extends BaseMapper<CgnciClaimPolicyDO> {


    List<CgnciClaimPolicyVO> getPolicyByProjectNo(@Param("projectNo")String projectNo);

    List<CgnciClaimPolicyVO> getPolicyByAnnual(@Param("projectNo")String projectNo,@Param("startDate")Date startDate,@Param("endDate")Date endDate);
}
